﻿<phone:PhoneApplicationPage 
    x:Class="NearChat.Login"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True" Loaded="PhoneApplicationPage_Loaded">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot">
    	<Grid.Background>
    		<ImageBrush Stretch="UniformToFill" ImageSource="img/bg.jpg"/>
    	</Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28"/>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <TextBlock Height="30" HorizontalAlignment="Center" Margin="0,28,0,0" Name="textBlock2" Text="Username:" VerticalAlignment="Top" Width="233" Foreground="#FF1F3D3C" TextAlignment="Center" FontSize="26.667" />
            <TextBox Height="72" HorizontalAlignment="Center" Margin="0,62,0,0" Name="userBox" Text="" VerticalAlignment="Top" Width="299" Background="#CC1F3D3C" />
            <TextBlock Height="30" HorizontalAlignment="Center" Margin="0,141,0,0" Name="textBlock3" Text="Password:" VerticalAlignment="Top" Width="233" Foreground="#FF1F3D3C" TextAlignment="Center" FontSize="26.667" />
            <PasswordBox Height="72" HorizontalAlignment="Center" Margin="0,175,0,0" Name="pswBox" VerticalAlignment="Top" Width="299" Background="#CC1F3D3C" />
            <Button Content="SIGN IN" HorizontalAlignment="Center" Margin="112,327,112,0" Name="buttonAccedi" Width="233" Tap="buttonAccedi_Tap" BorderThickness="3" BorderBrush="#FF1F3D3C" Foreground="#FF1F3D3C" Height="72" VerticalAlignment="Top" d:LayoutOverrides="Height" />
            <Button Content="REGISTER NOW" Height="72" HorizontalAlignment="Center" Margin="0,405,0,0" Name="buttonCreaAccount" VerticalAlignment="Top" Width="296" Tap="buttonCreaAccount_Tap" Foreground="#FF1F3D3C" BorderBrush="#FF1F3D3C" />
            <Button Content="Forgot your Password?" Height="72" HorizontalAlignment="Center" Margin="0,475,0,0" Name="buttonDimenticato" VerticalAlignment="Top" Width="409" Click="buttonDimenticato_Click" BorderBrush="{x:Null}" Foreground="#FF1F3D3C" />
            <CheckBox Content="Allow GPS" Height="90" HorizontalAlignment="Left" Margin="0,231,0,0" Name="checkBox1" VerticalAlignment="Top" Width="195" Checked="checkBox1_Checked" Foreground="#FF1F3D3C"  FontSize="26.667" Unchecked="checkBox1_Unchecked" />
            <CheckBox Content="Allow Notification" Height="90" HorizontalAlignment="Left" Margin="180,231,0,0" Name="checkBox2" VerticalAlignment="Top" Width="295" Checked="checkBox2_Checked" Foreground="#FF1F3D3C"  FontSize="26.667" Unchecked="checkBox2_Unchecked" />
            <Image HorizontalAlignment="Center" Height="130" Margin="0,0,0,46" Source="img/icona.png" Stretch="Fill" VerticalAlignment="Bottom" Width="130"/>
        </Grid>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
